/**
* Author: fulishang
* Create Time  : 2016年8月18日,上午12:53:31
* Modify Time :
* Desc  : 
*/
package com.sam.si.dc.util;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.oxm.castor.CastorMarshaller;

@Configuration
public class OXMConfig {

	@Bean
	public Converter getHandler(){
//	  Converter handler= new Converter();
//	  handler.setMarshaller(getCastorMarshaller());
//	  handler.setUnmarshaller(getCastorMarshaller());
//	  return handler;
		return null;
	}
	@Bean
	public CastorMarshaller getCastorMarshaller() {
//	  CastorMarshaller castorMarshaller = new CastorMarshaller();
//	  Resource resource = new ClassPathResource("mapping.xml");
//	  castorMarshaller.setMappingLocation(resource);
//	  return castorMarshaller;
		return null;
	}
	
}
